
class our_string(str):

    def __init__(self,content):

        self = str(content)

    def del_spaces(self):

        list = self.split()
        i = 0
        ret = ""
        for el in list:
            if i > 0:
                ret = ret + " "
            ret = ret + el
            i = i + 1
        
        return ret
